
using System;

using Serpis;

namespace PArticulo
{
	[ValidatorView]
	public partial class CategoriaView : Gtk.Window, IEntityView
	{
		public CategoriaView () : base(Gtk.WindowType.Toplevel)
		{
			this.Build ();
		}
		
		[ModelProperty]
		public string Nombre {
			get {return nombre.Text;}
			set {nombre.Text = value ?? "";}
		}
		
		public Gtk.Action SaveAction {
			get {return saveAction;}
		}
	}
}
